{% load static%}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="{% static  'xm/css/bootstrap.min.css'%}">
    <link rel="stylesheet" href="{% static  'xm/css/reset.css' %}">
    <link rel="stylesheet" href="{% static  'Register/css/register.css'%}">
    <script src="{% static 'xm/js/jquery-3.1.1.js'%}"></script>
    <script src="{% static 'xm/js/bootstrap.min.js' %}"></script>
</head>
<body>
    <div id="alert" class="alert" role="alert"></div>
    
  
  
    <div class="register">
       <div class="register-box">
           <div class="register-box-top">
             <h2 class="register-box-title">注册</h2>
            <a href="/user/login">去登录</a>
           </div>
            <div class="form-item">
                <div class="form-item-box">
                     <label for="username">用户名：</label>
                 <input type="text" class="form-control" id="username" aria-describedby="emailHelp">
                </div>
                <div id="username_error"  class="error"></div>
             </div>
             <div class="form-item">
                <div class="form-item-box">
                     <label for="username">密&emsp;码：</label>
                 <input type="password" class="form-control" id="password" aria-describedby="emailHelp">
                </div>
                <div id="password_error"  class="error"></div>
             </div>
             <div class="form-item">
                <div class="form-item-box">
                     <label for="qrpassword">确认密码：</label>
                     <input type="password" class="form-control" id="qrpassword" aria-describedby="emailHelp">
                </div>
                <div id="qrpassword_error" class="error"></div>
             </div>
           
            <div class="form-item-button">
                <input type="password" class="form-control" id="code" aria-describedby="emailHelp">
                <p class="code_data" style="width: 58px;"></p>
                <button type="button" class="btn btn-primary btn-sm" onclick="get_code()">获取验证码</button>
            </div> 
            <button type="button" class="submit" onclick="submit()">提交</button>
       </div>
    </div>

    <script src="{% static 'Register/js/register.js'%}"></script>
</body>
</html>